
<%@ page import="edu.auctionmart.Item" %>
<!doctype html>
<html>
    <head>
        <meta name="layout" content="mobile">
        <g:set var="entityName" value="${message(code: 'auction.label', default: 'Item')}" />
        <title><g:message code="default.show.label" args="[entityName]" /></title>
    </head>
    <body>
		<div data-role="header" data-position="fixed">
			<h1><g:message code="default.show.label" args="[entityName]" /></h1>
			<div data-role="navbar">
				<ul>
					<li><a data-icon="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
				</ul>
			</div>
		</div>
		<div data-role="content">
			<g:if test="${flash.message}">
			<div class="message">${flash.message}</div>
			</g:if>
			<dl>
				<dt><g:message code="item.name.label" default="Name" /></dt>
				<dd><dd><g:fieldValue bean="${itemInstance}" field="name"/></dd>	
				
				<dt><g:message code="item.description.label" default="Description" /></dt>
				<dd><dd><g:fieldValue bean="${itemInstance}" field="description"/></dd>	
				
				<dt><g:message code="item.category.label" default="Category" /></dt>
				<dd><dd><g:fieldValue bean="${itemInstance}" field="category"/></dd>
				
				<dt><g:message code="item.isbn.label" default="Isbn" /></dt>
				<dd><dd><g:fieldValue bean="${itemInstance}" field="isbn"/></dd>
				
				<dt><g:message code="item.weight.label" default="Weight" /></dt>
				<dd><dd><g:fieldValue bean="${itemInstance}" field="weight"/></dd>		
				
				<dt><g:message code="item.dimension.label" default="Dimension" /></dt>
				<dd><dd><g:fieldValue bean="${itemInstance}" field="dimension"/></dd>	
				
				<dt><g:message code="item.quantity.label" default="Quantity" /></dt>
				<dd><dd><g:fieldValue bean="${itemInstance}" field="quantity"/></dd>		
			</dl>

		</div>
		<div data-role="footer">
		</div>
    </body>
</html>
